From: Domas Mituzas Date: Sat, 15 Jul 2006 19:36:06 +0000 (+0000) Subject: add statistics hook for parser cache statistics... X-Git-Tag: 1.31.0-rc.0~56236 X-Git-Url: http://git.cyclocoop.org/%22.%24info%5B?a=commitdiff_plain;h=16d11c1bdd020f2b283452e0c1af8b11a6024ffe;p=lhc%2Fweb%2Fwiklou.git add statistics hook for parser cache statistics... --- diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 58b11dab62..ad43c22d1c 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -289,6 +289,7 @@ class OutputPage { function addWikiTextTitle($text, &$title, $linestart) { global $wgParser; + wfIncrStats('pcache_not_possible'); $parserOutput = $wgParser->parse( $text, $title, $this->mParserOptions, $linestart, true, $this->mRevisionId ); $this->addParserOutput( $parserOutput );